/*
 * @Author: wurangkun wurangkun@qq.com
 * @Date: 2023-04-04 15:13:14
 * @LastEditors: wurangkun wurangkun@qq.com
 * @LastEditTime: 2023-05-26 11:30:12
 * @FilePath: \ts-koa-starter-master\typings\file.d.ts
 * @Description: 文件ts类型
 */

import { WriteType } from "enums/file";

/**
 * 写入文本类型
 */
export interface WriteOption {
	/**
	 * 类型
	 */
	type: WriteType;
	content: string;
	create_time: number;
	id: number;
}

export interface UploadOption {
	type: WriteType;
  files:File;
	categoryid: number;
	path?: string;
	filename?: string;
	description?: string;
	size?: number;
	downloadTimes?: number;
	create_time?: number;
}
